package com.bing.jh.entity.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.bing.config.CustomStringConverter;
import lombok.Data;

import java.io.Serializable;
@ExcelIgnoreUnannotated
@Data
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER)
@ColumnWidth(14)
public class TTfrDetailReasonVO implements Serializable {

    @ExcelProperty(value = {"省份"})
    private String province;

    @ExcelProperty(value = {"工单故障原因"}, converter = CustomStringConverter.class)
    private String causeReason;

    @ExcelProperty(value = {"工单故障原因数量"})
    private String causeReasonNum;

    @ExcelProperty(value = {"工单故障原因占比"})
    private String causeReasonRank;
}
